import { graphic } from "echarts";

export const supGradientColor: any = new graphic.LinearGradient(0, 1, 0, 0, [
  {
    offset: 0,
    color: "rgba(63, 162, 255, 0.01)",
  },
  {
    offset: 1,
    color: "rgba(63, 162, 255, 0.5)",
  },
]);

export const purGradientColor: any = new graphic.LinearGradient(0, 1, 0, 0, [
  {
    offset: 0,
    color: "rgba(94, 219, 175, 0.01)",
  },
  {
    offset: 1,
    color: "rgba(94, 219, 175, 0.5)",
  },
]);

export const grossProfitGradientColor: any = new graphic.LinearGradient(
  0,
  1,
  0,
  0,
  [
    {
      offset: 0,
      color: "rgba(225, 174, 81, 0.01)",
    },
    {
      offset: 1,
      color: "rgba(225, 174, 81, 0.5)",
    },
  ]
);
